package com.edu.boot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.boot.entity.Users;

import java.util.List;
import java.util.Map;
import java.util.Optional;


public interface UserService extends IService<Users> {
    IPage<Users> selectUserByGender(Page<Users> page, String str);

    IPage<Users> pageByGender(Page<Users> page, QueryWrapper<Users> queryWrapper);
    
    Users findByUsername(String loginName);
    
    /**
     * 获取企业字典
     * @return
     */
    Map<Integer, String> getQyMap();
    /**
     * 获取求职者字典
     * @return
     */
    Map<Integer, String> getUserMap();
    
    Map<Integer, Users> getUserObjMap();
}
